package com.ruoyi.web.controller.wq;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.wq.domain.WqTopicUser;
import com.ruoyi.wq.service.IWqTopicUserService;

/**
 * 话题关注Controller
 * 
 * @author ruoyi
 * @date 2022-06-17
 */
@RestController
@RequestMapping("/wq/topicUser")
public class WqTopicUserController extends BaseController {
	
    @Autowired
    private IWqTopicUserService wqTopicUserService;

    /**
     * 查询话题关注列表
     */
    @GetMapping("/getList")
    public AjaxResult getList(){
        List<WqTopicUser> list = wqTopicUserService.getList();
        return AjaxResult.success(list);
    }

}
